//
//  HeaderCollectionViewCell.m
//  14-HomeWork
//
//  Created by 李昊林 on 16/8/2.
//  Copyright © 2016年 李昊林. All rights reserved.
//


#import "HeaderCollectionViewCell.h"

@interface HeaderCollectionViewCell ()
@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) UILabel *detailLable;
@property (nonatomic, strong) UILabel *descrcribLable;
@property (nonatomic, strong) UILabel *itemLable;

@end

@implementation HeaderCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 150, 100)];
        _imageView.image = [UIImage imageNamed:@"3"];
        [self.contentView addSubview:_imageView];
        _detailLable = [[UILabel alloc] initWithFrame:CGRectMake(155, 10, 100, 25)];
        _detailLable.text = @"123456";
        [self.contentView addSubview:_detailLable];
        _descrcribLable = [[UILabel alloc] initWithFrame:CGRectMake(155, 40, 120, 20)];
        [self.contentView addSubview:_descrcribLable];
        _descrcribLable.text = @"789101112";
        _itemLable = [[UILabel alloc] initWithFrame:CGRectMake(155, 65, 80, 20)];
        _itemLable.text = @"嘿嘿嘿";
        [self.contentView addSubview:_itemLable];
    }
    return self;
}
@end
